#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Project: spd-sxmcc
'''
@author: lyndon
@time Created on 2018/9/10 16:32
@desc
'''
from sqlalchemy.orm import sessionmaker

from com.teradata.db.pyspiderstore.EntityImdb import engine, ImdbMove

Session = sessionmaker(bind=engine)
session = Session()

imdbMoveIns = ImdbMove(director = "['Carlton Cuse', ' Graham Roland']",
                       rating = "8.4",
                       title = "Jack Ryan",
                       url = "https://www.imdb.com/title/tt5057054/?ref_=adv_li_i")

session.add(imdbMoveIns)
session.commit()